import routerView from "@/components/pubComp/routerView.vue";
const pre = "rvhealth-";
export default {
  path: "/health",
  name: "health",
  meta: {
    title: "湖北体检预约项目",
  },
  redirect: {
    name: `${pre}health`,
  },
  component: routerView,
  children: [

    //用户
    {
      path: "applyPower",
      name: `${pre}applyPower`,
      meta: {
        title: "个人授权委托书",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/applyPower"),
    },
    {
      path: "applyPowerAdd",
      name: `${pre}applyPowerAdd`,
      meta: {
        title: "签订个人授权委托书",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/applyPowerAdd"),
    },
    {
      path: "applyPowerDetail",
      name: `${pre}applyPowerDetail`,
      meta: {
        title: "个人授权委托书详情",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/applyPowerDetail"),
    },
    {
      path: "applyEmployee",
      name: `${pre}applyEmployee`,
      meta: {
        title: "个人额度",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/applyEmployee"),
    },
    {
      path: "applyBooking",
      name: `${pre}applyBooking`,
      meta: {
        title: "体检预约管理",
        closable: false,
      },
      // component: () => import("@/views/realAssets/rvhealth/applyBooking"),
      component: () => import("@/views/realAssets/rvhealth/applyOrganizations"),
    },
    {
      path: "applyOrganizations",
      name: `${pre}applyOrganizations`,
      meta: {
        title: "体检机构管理",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/applyOrganizations"),
    },
    {
      path: "applyOrganizationsDetail",
      name: `${pre}applyOrganizationsDetail`,
      meta: {
        title: "体检机构详情",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/applyOrganizationsDetail"),
    },
    {
      path: "applyOrganizationsDetails",
      name: `${pre}applyOrganizationsDetails`,
      meta: {
        title: "体检机构详情",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/applyOrganizationsDetails"),
    },
    {
      path: "applyComboDetail",
      name: `${pre}applyComboDetail`,
      meta: {
        title: "体检套餐详情",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/applyComboDetail"),
    },
    {
      path: "applyInform",
      name: `${pre}applyInform`,
      meta: {
        title: "体检报告",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/applyInform"),
    },
    {
      path: "applyInformAdd",
      name: `${pre}applyInformAdd`,
      meta: {
        title: "上传体检报告",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/applyInformAdd"),
    },
    {
      path: "illustrationDetail",
      name: `${pre}illustrationDetail`,
      meta: {
        title: "健康分析",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/illustrationDetail"),
    },

    //体检机构管理员
    {
      path: "doctorBooking",
      name: `${pre}doctorBooking`,
      meta: {
        title: "体检预约管理",
        closable: false,
      },
      component: () => import("@/views/realAssets/rvhealth/doctorBooking"),
    },

    {
        path: 'reportUpload',
        name: `${pre}reportUpload`,
        meta: {
            title: '上传体检报告',
            closable: false
        },
        component: () => import('@/views/realAssets/rvhealth/reportUpload')
    },
    {
        path: 'reportStatistics',
        name: `${pre}reportStatistics`,
        meta: {
            title: '健康分析',
            closable: false
        },
        component: () => import('@/views/realAssets/rvhealth/reportStatistics')
    },

  ],
};
